﻿using assignment2.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace assignment2.Events
{
    //定义事件
    internal class BigMoneyArgs:EventArgs
    {
        public CreditAccount creditAccount { get; set; }
        public double balance { get; set; }

        public BigMoneyArgs(CreditAccount creditAccount, double balance)
        {
            this.creditAccount = creditAccount;
            this.balance=balance;

        }
    }
}
